<div title="商品基础信息" class="tabContent">
	<table class="table" style="width:100%;">
		<tr>
			<th>商品分类：</th>
			<td>
				<input type="text" id="goodsCategoryName" value="${(goods.goodsCategory.name)!''}"	
					class="formText {required: true, messages: {required: '商品分类为必填项'}}"/>										
				<input type="hidden" id="goodsCategoryId" name="goodsCategory.id" value="${(goods.goodsCategory.id)!''}"/>
			</td>
		</tr>

		<#--<tr>
			<th>商品类别：</th>
			<td>
				<@u.select listKey="name" listValue="name" headerButtom="false" list=DictionaryUtils.getDictionary('103')
					name="goodsType" value="${(goods.goodsType)!''}" class="{required:true}"/>
			</td>
		</tr>-->
		<#--<tr>
			<th>商品主键：</th>
			<td>
				<input type="text" name="erpId"  value="${(goods.erpId)!''}"	
					class="formText {required: true, maxlength: 50, remote:'${base}/admin/b2c/goods/checkGoodsErpId.jhtml?oldErpId=${(goods.erpId)!''}', messages: {required: '商品主键为必填项', remote:'商品主键已存在!'}}" />				
			</td>
		</tr>-->
		<tr>
			<th>商品编号：</th>
			<td>
				<input type="text" name="code"  value="${(goods.code)!''}"
					class="formText {required: true, maxlength: 50, remote:'${base}/admin/b2c/goods/checkGoodsCode.jhtml?oldCode=${(goods.code)!''}', messages: {required: '商品编号为必填项', remote:'商品编号已存在!'}}" />				
			</td>
		</tr>
		<#--<tr>
			<th>海典商品编号：</th>
			<td>
				<input type="text" name="hdCode"  value="${(goods.hdCode)!''}"	
					class="formText {required: true, maxlength: 50, remote:'${base}/admin/b2c/goods/checkGoodsHdCode.jhtml?oldHdCode=${(goods.hdCode)!''}', messages: {required: '海典商品编号为必填项', remote:'海典商品编号已存在!'}}" />				
			</td>
		</tr>-->
		<tr>
			<th>商品名称：</th>
			<td>
				<input type="text" name="name"  value="${(goods.name)!''}"	
					class="formText {required: true, maxlength: 50, messages: {required: '商品分类为必填项'}}" />				
			</td>
		</tr>
		<tr>
			<th>拼音码：</th>
			<td>
				<input type="text" name="pyName"  value="${(goods.pyName)!''}"	
					class="formText {required: true, maxlength: 50, messages: {required: '拼音码为必填项'}}" />				
			</td>
		</tr>
		<tr>
			<th>英文名称：</th>
			<td>
				<input type="text" name="enName"  value="${(goods.enName)!''}"	
					class="formText {maxlength: 50}" />				
			</td>
		</tr>
		<tr>
			<th>别名：</th>
			<td>
				<input type="text" name="byName"  value="${(goods.byName)!''}"	
					class="formText {maxlength: 50}" />				
			</td>
		</tr>
		<tr>
			<th>规格：</th>
			<td>
				<input type="text" name="spec"  value="${(goods.spec)!''}"	
					class="formText {required: true, maxlength: 50, messages: {required: '规格为必填项'}}" />				
			</td>
		</tr>
		<tr>
			<th>条形码：</th>
			<td>
				<input type="text" name="barcode"  value="${(goods.barcode)!''}"	
					class="formText {maxlength: 50}" />				
			</td>
		</tr>
		<tr>
			<th>品牌：</th>
			<td>
				<input type="text" id="brandName" value="${(goods.brand.name)!''}"	
					class="formText"/>
				<input type="hidden" id="brandId" name="brand.id" value="${(goods.brand.id)!''}"/>				
			</td>
		</tr>
		<#--<tr>
			<th>处方类型：</th>
			<td>
				<@u.select_map listKey="key" listValue="name" headerKey="" headerValue="无" headerButtom="false"
					list=prescribeTypeList name="prescribeType" value="${(goods.prescribeType)!''}"/>
			</td>
		</tr>-->
		<#--<tr>
			<th>医保类型：</th>
			<td>
				<@u.select_map listKey="key" listValue="name" headerKey="" headerValue="无" headerButtom="false"
					list=medicalInsuranceTypeList name="medicalInsuranceType" value="${(goods.medicalInsuranceType)!''}"/>
			</td>
		</tr>
		<tr>
			<th>剂型：</th>
			<td>
				<@u.select listKey="name" listValue="name" headerButtom="false" list=DictionaryUtils.getDictionary('105')
					name="drugForm" value="${(goods.drugForm)!''}" class="{required:true}"/>
			</td>
		</tr>
		<tr>				
			<th>包装单位：</th>
			<td>
				<@u.select listKey="decode" listValue="name" headerButtom="false" list=DictionaryUtils.getDictionary('104')
					name="packingUnit" value="${(goods.packingUnit)!''}" class="{required:true}"/>											
			</td>
		</tr>
		<tr>
			<th>生产厂商：</th>
			<td>
				<input type="text" name="manufacturer"  value="${(goods.manufacturer)!''}"	
					class="formText {required: true, maxlength: 50, messages: {required: '生产厂商为必填项'}}" />				
			</td>
		</tr>-->
        <tr>
            <th>积分比率：</th>
            <td>
                <input type="text" name="integralRate"  value="${(goods.integralRate)!'0'}"
                       class="formText {maxlength: 100}" />%
            </td>
        </tr>
		<tr>
			<th>产地：</th>
			<td>
				<input type="text" name="productionArea"  value="${(goods.productionArea)!''}"	
					class="formText {maxlength: 50}" />				
			</td>
		</tr>


		<tr>
			<th>用途：</th>
			<td>
				<textarea maxth="255" rows="3" cols="80" name="purpose">${(goods.purpose)!''}</textarea><br> 
				<span class="info">请不要超过255个字符</span>
			</td> 
		</tr>
	</table>
</div>